package com.sunnyebuy.merchant.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * The persistent class for the merchant_product database table.
 * 
 */
@Entity
@Table(name = "merchant_product")
public class MerchantProduct implements Serializable {

	private static final long serialVersionUID = 7463433832433528344L;
	private String merchantProductSku;
	private Timestamp createdTime;
	private String merchantId;
	private String merchantProductCategoryId;
	private String merchantProductDesc;
	private String merchantProductLongDesc;
	private String merchantProductLongName;
	private String merchantProductName;
	private BigDecimal merchantProductPrice;
	private int merchantProductStatus;
	private String merchantProductThumb;
	private String merchantProductUrl;
	private BigDecimal productOriginalPrice;
	private String supplierProductSku;
	private String sysProductSku;

	public MerchantProduct() {
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "merchant_product_sku")
	public String getMerchantProductSku() {
		return this.merchantProductSku;
	}

	public void setMerchantProductSku(String merchantProductSku) {
		this.merchantProductSku = merchantProductSku;
	}

	@Column(name = "created_time")
	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	@Column(name = "merchant_id")
	public String getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	@Column(name = "merchant_product_category_id")
	public String getMerchantProductCategoryId() {
		return this.merchantProductCategoryId;
	}

	public void setMerchantProductCategoryId(String merchantProductCategoryId) {
		this.merchantProductCategoryId = merchantProductCategoryId;
	}

	@Column(name = "merchant_product_desc")
	public String getMerchantProductDesc() {
		return this.merchantProductDesc;
	}

	public void setMerchantProductDesc(String merchantProductDesc) {
		this.merchantProductDesc = merchantProductDesc;
	}

	@Lob()
	@Column(name = "merchant_product_long_desc")
	public String getMerchantProductLongDesc() {
		return this.merchantProductLongDesc;
	}

	public void setMerchantProductLongDesc(String merchantProductLongDesc) {
		this.merchantProductLongDesc = merchantProductLongDesc;
	}

	@Column(name = "merchant_product_long_name")
	public String getMerchantProductLongName() {
		return this.merchantProductLongName;
	}

	public void setMerchantProductLongName(String merchantProductLongName) {
		this.merchantProductLongName = merchantProductLongName;
	}

	@Column(name = "merchant_product_name")
	public String getMerchantProductName() {
		return this.merchantProductName;
	}

	public void setMerchantProductName(String merchantProductName) {
		this.merchantProductName = merchantProductName;
	}

	@Column(name = "merchant_product_price")
	public BigDecimal getMerchantProductPrice() {
		return this.merchantProductPrice;
	}

	public void setMerchantProductPrice(BigDecimal merchantProductPrice) {
		this.merchantProductPrice = merchantProductPrice;
	}

	@Column(name = "merchant_product_status")
	public int getMerchantProductStatus() {
		return this.merchantProductStatus;
	}

	public void setMerchantProductStatus(int merchantProductStatus) {
		this.merchantProductStatus = merchantProductStatus;
	}

	@Column(name = "merchant_product_thumb")
	public String getMerchantProductThumb() {
		return this.merchantProductThumb;
	}

	public void setMerchantProductThumb(String merchantProductThumb) {
		this.merchantProductThumb = merchantProductThumb;
	}

	@Column(name = "merchant_product_url")
	public String getMerchantProductUrl() {
		return this.merchantProductUrl;
	}

	public void setMerchantProductUrl(String merchantProductUrl) {
		this.merchantProductUrl = merchantProductUrl;
	}

	@Column(name = "product_original_price")
	public BigDecimal getProductOriginalPrice() {
		return this.productOriginalPrice;
	}

	public void setProductOriginalPrice(BigDecimal productOriginalPrice) {
		this.productOriginalPrice = productOriginalPrice;
	}

	@Column(name = "supplier_product_sku")
	public String getSupplierProductSku() {
		return this.supplierProductSku;
	}

	public void setSupplierProductSku(String supplierProductSku) {
		this.supplierProductSku = supplierProductSku;
	}

	@Column(name = "sys_product_sku")
	public String getSysProductSku() {
		return this.sysProductSku;
	}

	public void setSysProductSku(String sysProductSku) {
		this.sysProductSku = sysProductSku;
	}

}